using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public class Pos_SalesDetail
{
    public Pos_SalesDetail()
    {
    }

    public Pos_SalesDetail
        (
        int pos_SalesDetailID, 
        int localSalesDetailID, 
        int remoteSalesDetailID, 
        int productID, 
        int quantity, 
        int workStationID, 
        decimal costPrice, 
        decimal salesPrice, 
        decimal discountPercentage, 
        decimal discountAmount, 
        decimal vATPercentage, 
        decimal vATAmount, 
        int localPos_TransactionMasterID, 
        int sererPos_TransactionMasterID, 
        int localTransactionID, 
        int serverTransactionID, 
        int localPos_SalesMasterID, 
        int serverPos_SalesMasterID, 
        int localFinishedGoodAssetJournalDetailID, 
        int localCostOfGoodsSoldJournalDetailID, 
        int localSalesRevinueJournalDetailID, 
        int localVATIncludingJournalDetailID, 
        int localVATExcludingJournalDetailID, 
        int localDiscountJournalDetailID, 
        int serverFinishedGoodAssetJournalDetailID, 
        int serverCostOfGoodsSoldJournalDetailID, 
        int serverSalesRevinueJournalDetailID, 
        int serverVATIncludingJournalDetailID, 
        int serverVATExcludingJournalDetailID, 
        int serverDiscountJournalDetailID, 
        int statusID, 
        string extraField1, 
        string extraField2, 
        string extraField3, 
        string extraField4, 
        string extraField5, 
        string extraField6, 
        string extraField7, 
        string extraField8, 
        string extraField9, 
        string extraField10
        )
    {
        this.Pos_SalesDetailID = pos_SalesDetailID;
        this.LocalSalesDetailID = localSalesDetailID;
        this.RemoteSalesDetailID = remoteSalesDetailID;
        this.ProductID = productID;
        this.Quantity = quantity;
        this.WorkStationID = workStationID;
        this.CostPrice = costPrice;
        this.SalesPrice = salesPrice;
        this.DiscountPercentage = discountPercentage;
        this.DiscountAmount = discountAmount;
        this.VATPercentage = vATPercentage;
        this.VATAmount = vATAmount;
        this.LocalPos_TransactionMasterID = localPos_TransactionMasterID;
        this.SererPos_TransactionMasterID = sererPos_TransactionMasterID;
        this.LocalTransactionID = localTransactionID;
        this.ServerTransactionID = serverTransactionID;
        this.LocalPos_SalesMasterID = localPos_SalesMasterID;
        this.ServerPos_SalesMasterID = serverPos_SalesMasterID;
        this.LocalFinishedGoodAssetJournalDetailID = localFinishedGoodAssetJournalDetailID;
        this.LocalCostOfGoodsSoldJournalDetailID = localCostOfGoodsSoldJournalDetailID;
        this.LocalSalesRevinueJournalDetailID = localSalesRevinueJournalDetailID;
        this.LocalVATIncludingJournalDetailID = localVATIncludingJournalDetailID;
        this.LocalVATExcludingJournalDetailID = localVATExcludingJournalDetailID;
        this.LocalDiscountJournalDetailID = localDiscountJournalDetailID;
        this.ServerFinishedGoodAssetJournalDetailID = serverFinishedGoodAssetJournalDetailID;
        this.ServerCostOfGoodsSoldJournalDetailID = serverCostOfGoodsSoldJournalDetailID;
        this.ServerSalesRevinueJournalDetailID = serverSalesRevinueJournalDetailID;
        this.ServerVATIncludingJournalDetailID = serverVATIncludingJournalDetailID;
        this.ServerVATExcludingJournalDetailID = serverVATExcludingJournalDetailID;
        this.ServerDiscountJournalDetailID = serverDiscountJournalDetailID;
        this.StatusID = statusID;
        this.ExtraField1 = extraField1;
        this.ExtraField2 = extraField2;
        this.ExtraField3 = extraField3;
        this.ExtraField4 = extraField4;
        this.ExtraField5 = extraField5;
        this.ExtraField6 = extraField6;
        this.ExtraField7 = extraField7;
        this.ExtraField8 = extraField8;
        this.ExtraField9 = extraField9;
        this.ExtraField10 = extraField10;
    }


    private int _pos_SalesDetailID;
    public int Pos_SalesDetailID
    {
        get { return _pos_SalesDetailID; }
        set { _pos_SalesDetailID = value; }
    }

    private int _localSalesDetailID;
    public int LocalSalesDetailID
    {
        get { return _localSalesDetailID; }
        set { _localSalesDetailID = value; }
    }

    private int _remoteSalesDetailID;
    public int RemoteSalesDetailID
    {
        get { return _remoteSalesDetailID; }
        set { _remoteSalesDetailID = value; }
    }

    private int _productID;
    public int ProductID
    {
        get { return _productID; }
        set { _productID = value; }
    }

    private int _quantity;
    public int Quantity
    {
        get { return _quantity; }
        set { _quantity = value; }
    }

    private int _workStationID;
    public int WorkStationID
    {
        get { return _workStationID; }
        set { _workStationID = value; }
    }

    private decimal _costPrice;
    public decimal CostPrice
    {
        get { return _costPrice; }
        set { _costPrice = value; }
    }

    private decimal _salesPrice;
    public decimal SalesPrice
    {
        get { return _salesPrice; }
        set { _salesPrice = value; }
    }

    private decimal _discountPercentage;
    public decimal DiscountPercentage
    {
        get { return _discountPercentage; }
        set { _discountPercentage = value; }
    }

    private decimal _discountAmount;
    public decimal DiscountAmount
    {
        get { return _discountAmount; }
        set { _discountAmount = value; }
    }

    private decimal _vATPercentage;
    public decimal VATPercentage
    {
        get { return _vATPercentage; }
        set { _vATPercentage = value; }
    }

    private decimal _vATAmount;
    public decimal VATAmount
    {
        get { return _vATAmount; }
        set { _vATAmount = value; }
    }

    private int _localPos_TransactionMasterID;
    public int LocalPos_TransactionMasterID
    {
        get { return _localPos_TransactionMasterID; }
        set { _localPos_TransactionMasterID = value; }
    }

    private int _sererPos_TransactionMasterID;
    public int SererPos_TransactionMasterID
    {
        get { return _sererPos_TransactionMasterID; }
        set { _sererPos_TransactionMasterID = value; }
    }

    private int _localTransactionID;
    public int LocalTransactionID
    {
        get { return _localTransactionID; }
        set { _localTransactionID = value; }
    }

    private int _serverTransactionID;
    public int ServerTransactionID
    {
        get { return _serverTransactionID; }
        set { _serverTransactionID = value; }
    }

    private int _localPos_SalesMasterID;
    public int LocalPos_SalesMasterID
    {
        get { return _localPos_SalesMasterID; }
        set { _localPos_SalesMasterID = value; }
    }

    private int _serverPos_SalesMasterID;
    public int ServerPos_SalesMasterID
    {
        get { return _serverPos_SalesMasterID; }
        set { _serverPos_SalesMasterID = value; }
    }

    private int _localFinishedGoodAssetJournalDetailID;
    public int LocalFinishedGoodAssetJournalDetailID
    {
        get { return _localFinishedGoodAssetJournalDetailID; }
        set { _localFinishedGoodAssetJournalDetailID = value; }
    }

    private int _localCostOfGoodsSoldJournalDetailID;
    public int LocalCostOfGoodsSoldJournalDetailID
    {
        get { return _localCostOfGoodsSoldJournalDetailID; }
        set { _localCostOfGoodsSoldJournalDetailID = value; }
    }

    private int _localSalesRevinueJournalDetailID;
    public int LocalSalesRevinueJournalDetailID
    {
        get { return _localSalesRevinueJournalDetailID; }
        set { _localSalesRevinueJournalDetailID = value; }
    }

    private int _localVATIncludingJournalDetailID;
    public int LocalVATIncludingJournalDetailID
    {
        get { return _localVATIncludingJournalDetailID; }
        set { _localVATIncludingJournalDetailID = value; }
    }

    private int _localVATExcludingJournalDetailID;
    public int LocalVATExcludingJournalDetailID
    {
        get { return _localVATExcludingJournalDetailID; }
        set { _localVATExcludingJournalDetailID = value; }
    }

    private int _localDiscountJournalDetailID;
    public int LocalDiscountJournalDetailID
    {
        get { return _localDiscountJournalDetailID; }
        set { _localDiscountJournalDetailID = value; }
    }

    private int _serverFinishedGoodAssetJournalDetailID;
    public int ServerFinishedGoodAssetJournalDetailID
    {
        get { return _serverFinishedGoodAssetJournalDetailID; }
        set { _serverFinishedGoodAssetJournalDetailID = value; }
    }

    private int _serverCostOfGoodsSoldJournalDetailID;
    public int ServerCostOfGoodsSoldJournalDetailID
    {
        get { return _serverCostOfGoodsSoldJournalDetailID; }
        set { _serverCostOfGoodsSoldJournalDetailID = value; }
    }

    private int _serverSalesRevinueJournalDetailID;
    public int ServerSalesRevinueJournalDetailID
    {
        get { return _serverSalesRevinueJournalDetailID; }
        set { _serverSalesRevinueJournalDetailID = value; }
    }

    private int _serverVATIncludingJournalDetailID;
    public int ServerVATIncludingJournalDetailID
    {
        get { return _serverVATIncludingJournalDetailID; }
        set { _serverVATIncludingJournalDetailID = value; }
    }

    private int _serverVATExcludingJournalDetailID;
    public int ServerVATExcludingJournalDetailID
    {
        get { return _serverVATExcludingJournalDetailID; }
        set { _serverVATExcludingJournalDetailID = value; }
    }

    private int _serverDiscountJournalDetailID;
    public int ServerDiscountJournalDetailID
    {
        get { return _serverDiscountJournalDetailID; }
        set { _serverDiscountJournalDetailID = value; }
    }

    private int _statusID;
    public int StatusID
    {
        get { return _statusID; }
        set { _statusID = value; }
    }

    private string _extraField1;
    public string ExtraField1
    {
        get { return _extraField1; }
        set { _extraField1 = value; }
    }

    private string _extraField2;
    public string ExtraField2
    {
        get { return _extraField2; }
        set { _extraField2 = value; }
    }

    private string _extraField3;
    public string ExtraField3
    {
        get { return _extraField3; }
        set { _extraField3 = value; }
    }

    private string _extraField4;
    public string ExtraField4
    {
        get { return _extraField4; }
        set { _extraField4 = value; }
    }

    private string _extraField5;
    public string ExtraField5
    {
        get { return _extraField5; }
        set { _extraField5 = value; }
    }

    private string _extraField6;
    public string ExtraField6
    {
        get { return _extraField6; }
        set { _extraField6 = value; }
    }

    private string _extraField7;
    public string ExtraField7
    {
        get { return _extraField7; }
        set { _extraField7 = value; }
    }

    private string _extraField8;
    public string ExtraField8
    {
        get { return _extraField8; }
        set { _extraField8 = value; }
    }

    private string _extraField9;
    public string ExtraField9
    {
        get { return _extraField9; }
        set { _extraField9 = value; }
    }

    private string _extraField10;
    public string ExtraField10
    {
        get { return _extraField10; }
        set { _extraField10 = value; }
    }
}
